import { createPinia } from "pinia";
import piniaPersist from "pinia-plugin-persist-uni";
export default function registerPinia(app) {
  const pinia = createPinia();
  pinia.use(piniaPersist);
  app.use(pinia);
  return pinia;
}

export * from "./modules/user";
export * from "./modules/news";
export * from "./modules/organization";
